<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>

<jsp:include page="/static/common/common_header.jsp"/>

<script type="text/javascript" src="/static/js/customer/customer.js"></script>
<style>
    spn .textbox{
        width: 163px;
    }
</style>
<html>
<head>
    <title>客户历史资源界面</title>
</head>
<body>
<table id="customer_datagrid" ></table>
<div id="customer_toolbar">
    <br>
    创建日期:
    <input name="beginDate" type= "text" class= "easyui-datebox" style="width: 110px"> </input>
    ~
    <input name="endDate" type= "text" class= "easyui-datebox" style="width: 110px"> </input>


    精确搜索:
    <input name="idNo" class="easyui-textbox" data-options="prompt:'身份证号'" style="width:120px">
    <input name="tel" class="easyui-textbox" data-options="prompt:'电话'" style="width:100px">
    &nbsp;&nbsp;&nbsp;
    模糊搜索:
    <input name="chargeUser_name" class="easyui-textbox" data-options="prompt:'负责人'" style="width:70px">

    <input name="keyword" class="easyui-textbox" data-options="prompt:'客户姓名/身份证/邮箱'" style="width:140px">

    <a class="easyui-linkbutton" data-options="iconCls:'icon-search'" onclick="customer_search()">搜索</a>
    &nbsp;&nbsp;
    <a class="easyui-linkbutton" iconCls="icon-edit"   data-cmd="view">客户详情</a>
</div>

<div id="customer_dialog">
    <form id="customer_form">
        <input type="hidden" name="id"/>
        <table align="center" style="margin-top:15px">
            <tr>
                <td width="32"></td>
                <td>姓名:</td>
                <td>
                    <input class="easyui-textbox" name="name"/>
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>性别:</td>
                <td>
                    <input class="easyui-textbox" name="gender"/>
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>年龄:</td>
                <td>
                    <input class="easyui-textbox" name="age" />
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>电话:</td>
                <td>
                    <input type="text" class="easyui-textbox" name="tel" />
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>邮箱:</td>
                <td>
                    <input type="text" class="easyui-textbox" name="email" />
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>地址:</td>
                <td>
                    <input type="text" class="easyui-textbox" name="address" />

                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>QQ:</td>
                <td>
                    <input type="text" class="easyui-textbox" name="qq" />
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>微信:</td>
                <td>
                    <input type="text" class="easyui-textbox" name="wechat" />
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>职业:</td>
                <td>
                    <input class="easyui-textbox" name="job.name"/>
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>身份证号:</td>
                <td>
                    <input class="easyui-textbox" name="idNo" />
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>客户来源:</td>
                <td>
                    <input class="easyui-textbox" name="source.name"/>
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>收入水平:</td>
                <td>
                    <input class="easyui-textbox" name="salaryLevel.name"/>
                </td>
            </tr>
        </table>
    </form>
</div>
<div id="customer_btns">
    <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true"   data-cmd="cancel">取消</a>
</div>
</body>
</html>
